package com.tang.bloghandle.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

@ApiModel("博客相关信息")
@Data
public class BlogInfoDto {
    @ApiModelProperty("我拥有的博客数")
    private Long myBolgCount;

    @ApiModelProperty("我收藏的博客数")
    private Long myCollectCount;

    @ApiModelProperty("我关注的博主数")
    private Long myLikeCount;

    public BlogInfoDto(Long myBolgCount, Long myCollectCount, Long myLikeCount) {
        this.myBolgCount = myBolgCount;
        this.myCollectCount = myCollectCount;
        this.myLikeCount = myLikeCount;
    }
}
